
<form name="editForm" role="form" novalidate ng-submit="vm.save()" show-validation>

    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"
                ng-click="vm.clear()">&times;</button>
        <h4 class="modal-title" id="myD_m_zhenghe_seekrecipe_statLabel" data-translate="zhserverApp.d_m_zhenghe_seekrecipe_stat.home.createOrEditLabel">Create or edit a D M Zhenghe Seekrecipe Stat</h4>
    </div>
    <div class="modal-body">
        <jhi-alert-error></jhi-alert-error>
        <div class="form-group" ng-show="vm.d_m_zhenghe_seekrecipe_stat.id">
            <label for="id" data-translate="global.field.id">ID</label>
            <input type="text" class="form-control" id="id" name="id"
                    ng-model="vm.d_m_zhenghe_seekrecipe_stat.id" readonly />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.d_m_zhenghe_seekrecipe_stat.stati_date" for="field_stati_date">Stati Date</label>
            <input type="text" class="form-control" name="stati_date" id="field_stati_date"
                    ng-model="vm.d_m_zhenghe_seekrecipe_stat.stati_date"
                    required />
            <div ng-show="editForm.stati_date.$invalid">
                <p class="help-block"
                    ng-show="editForm.stati_date.$error.required" data-translate="entity.validation.required">
                    This field is required.
                </p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.d_m_zhenghe_seekrecipe_stat.month_id" for="field_month_id">Month Id</label>
            <input type="text" class="form-control" name="month_id" id="field_month_id"
                    ng-model="vm.d_m_zhenghe_seekrecipe_stat.month_id"
                    required />
            <div ng-show="editForm.month_id.$invalid">
                <p class="help-block"
                    ng-show="editForm.month_id.$error.required" data-translate="entity.validation.required">
                    This field is required.
                </p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.d_m_zhenghe_seekrecipe_stat.quest_count" for="field_quest_count">Quest Count</label>
            <input type="number" class="form-control" name="quest_count" id="field_quest_count"
                    ng-model="vm.d_m_zhenghe_seekrecipe_stat.quest_count"
                     />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.d_m_zhenghe_seekrecipe_stat.answer_count" for="field_answer_count">Answer Count</label>
            <input type="number" class="form-control" name="answer_count" id="field_answer_count"
                    ng-model="vm.d_m_zhenghe_seekrecipe_stat.answer_count"
                     />
        </div>

    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="vm.clear()">
            <span class="glyphicon glyphicon-ban-circle"></span>&nbsp;<span data-translate="entity.action.cancel">Cancel</span>
        </button>
        <button type="submit" ng-disabled="editForm.$invalid || vm.isSaving" class="btn btn-primary">
            <span class="glyphicon glyphicon-save"></span>&nbsp;<span data-translate="entity.action.save">Save</span>
        </button>
    </div>
</form>
